// ******************************************************************
// * Copyright(c)  Steven Lu
// * Description   : Schema_QC_IPQC
// * CreateDate    : 2014-06-05 18:30:28
// * Creater       : CodeSmith
// * LastChangeDate: 2014-06-05 18:30:28
// * LastChanger   : 2014-06-05 18:30:28
// * Version Info  : 1.0 For ESOL
// ******************************************************************

using System;
using System.Collections.Generic;
using System.Text;
using Suzsoft.Smart.EntityCore;

namespace ESOL.Common.Schema
{
  	[Serializable]
    public partial class QcIpqcTable : TableInfo
    {
		public const string C_TableName = "QC_IPQC";
		
		public const string C_ID = "ID";
		public const string C_CREATED_DATE = "CREATED_DATE";
		public const string C_CREATED_BY = "CREATED_BY";
		public const string C_UPDATED_DATE = "UPDATED_DATE";
		public const string C_UPDATED_BY = "UPDATED_BY";
		public const string C_IS_ACTIVE = "IS_ACTIVE";
		public const string C_IPQC_NO = "IPQC_NO";
		public const string C_WO_NO = "WO_NO";
		public const string C_WO_TASK_ID = "WO_TASK_ID";
		public const string C_TECHNIC_NAME = "TECHNIC_NAME";
		public const string C_MATERIAL_ID = "MATERIAL_ID";
		public const string C_MATERIAL_NAME = "MATERIAL_NAME";
		public const string C_MATERIAL_CODE = "MATERIAL_CODE";
		public const string C_QTY = "QTY";
		public const string C_TYPE = "TYPE";
		public const string C_SOLUTION_NO = "SOLUTION_NO";
		public const string C_SAMPLE_STD = "SAMPLE_STD";
		public const string C_SAMPLE_QTY = "SAMPLE_QTY";
		public const string C_ACPT_QTY = "ACPT_QTY";
		public const string C_REJ_QTY = "REJ_QTY";
		public const string C_FINE_QTY = "FINE_QTY";
		public const string C_NG_QTY = "NG_QTY";
		public const string C_RESULT = "RESULT";
		public const string C_REMARK = "REMARK";
		
		public QcIpqcTable()
        {
            _tableName = "QC_IPQC";
        }
		
		protected static QcIpqcTable _current;
        public static QcIpqcTable Current
        {
            get
            {
                if (_current == null)
                {
                    Initial();
                }
                return _current;
            }
        }
		
		private static void Initial()
        {
            _current = new QcIpqcTable();

            _current.Add(C_ID, new ColumnInfo(C_ID,"Id", true, typeof(string)));
            _current.Add(C_CREATED_DATE, new ColumnInfo(C_CREATED_DATE,"CreatedDate", false, typeof(DateTime)));
            _current.Add(C_CREATED_BY, new ColumnInfo(C_CREATED_BY,"CreatedBy", false, typeof(string)));
            _current.Add(C_UPDATED_DATE, new ColumnInfo(C_UPDATED_DATE,"UpdatedDate", false, typeof(DateTime)));
            _current.Add(C_UPDATED_BY, new ColumnInfo(C_UPDATED_BY,"UpdatedBy", false, typeof(string)));
            _current.Add(C_IS_ACTIVE, new ColumnInfo(C_IS_ACTIVE,"IsActive", false, typeof(int)));
            _current.Add(C_IPQC_NO, new ColumnInfo(C_IPQC_NO,"IpqcNo", false, typeof(string)));
            _current.Add(C_WO_NO, new ColumnInfo(C_WO_NO,"WoNo", false, typeof(string)));
            _current.Add(C_WO_TASK_ID, new ColumnInfo(C_WO_TASK_ID,"WoTaskId", false, typeof(string)));
            _current.Add(C_TECHNIC_NAME, new ColumnInfo(C_TECHNIC_NAME,"TechnicName", false, typeof(string)));
            _current.Add(C_MATERIAL_ID, new ColumnInfo(C_MATERIAL_ID,"MaterialId", false, typeof(string)));
            _current.Add(C_MATERIAL_NAME, new ColumnInfo(C_MATERIAL_NAME,"MaterialName", false, typeof(string)));
            _current.Add(C_MATERIAL_CODE, new ColumnInfo(C_MATERIAL_CODE,"MaterialCode", false, typeof(string)));
            _current.Add(C_QTY, new ColumnInfo(C_QTY,"Qty", false, typeof(decimal)));
            _current.Add(C_TYPE, new ColumnInfo(C_TYPE,"Type", false, typeof(string)));
            _current.Add(C_SOLUTION_NO, new ColumnInfo(C_SOLUTION_NO,"SolutionNo", false, typeof(string)));
            _current.Add(C_SAMPLE_STD, new ColumnInfo(C_SAMPLE_STD,"SampleStd", false, typeof(string)));
            _current.Add(C_SAMPLE_QTY, new ColumnInfo(C_SAMPLE_QTY,"SampleQty", false, typeof(decimal)));
            _current.Add(C_ACPT_QTY, new ColumnInfo(C_ACPT_QTY,"AcptQty", false, typeof(decimal)));
            _current.Add(C_REJ_QTY, new ColumnInfo(C_REJ_QTY,"RejQty", false, typeof(decimal)));
            _current.Add(C_FINE_QTY, new ColumnInfo(C_FINE_QTY,"FineQty", false, typeof(decimal)));
            _current.Add(C_NG_QTY, new ColumnInfo(C_NG_QTY,"NgQty", false, typeof(decimal)));
            _current.Add(C_RESULT, new ColumnInfo(C_RESULT,"Result", false, typeof(string)));
            _current.Add(C_REMARK, new ColumnInfo(C_REMARK,"Remark", false, typeof(string)));
			
		}
		
		public ColumnInfo ID
        {
            get { return this[C_ID]; }
        }
		
		public ColumnInfo CREATED_DATE
        {
            get { return this[C_CREATED_DATE]; }
        }
		
		public ColumnInfo CREATED_BY
        {
            get { return this[C_CREATED_BY]; }
        }
		
		public ColumnInfo UPDATED_DATE
        {
            get { return this[C_UPDATED_DATE]; }
        }
		
		public ColumnInfo UPDATED_BY
        {
            get { return this[C_UPDATED_BY]; }
        }
		
		public ColumnInfo IS_ACTIVE
        {
            get { return this[C_IS_ACTIVE]; }
        }
		
		public ColumnInfo IPQC_NO
        {
            get { return this[C_IPQC_NO]; }
        }
		
		public ColumnInfo WO_NO
        {
            get { return this[C_WO_NO]; }
        }
		
		public ColumnInfo WO_TASK_ID
        {
            get { return this[C_WO_TASK_ID]; }
        }
		
		public ColumnInfo TECHNIC_NAME
        {
            get { return this[C_TECHNIC_NAME]; }
        }
		
		public ColumnInfo MATERIAL_ID
        {
            get { return this[C_MATERIAL_ID]; }
        }
		
		public ColumnInfo MATERIAL_NAME
        {
            get { return this[C_MATERIAL_NAME]; }
        }
		
		public ColumnInfo MATERIAL_CODE
        {
            get { return this[C_MATERIAL_CODE]; }
        }
		
		public ColumnInfo QTY
        {
            get { return this[C_QTY]; }
        }
		
		public ColumnInfo TYPE
        {
            get { return this[C_TYPE]; }
        }
		
		public ColumnInfo SOLUTION_NO
        {
            get { return this[C_SOLUTION_NO]; }
        }
		
		public ColumnInfo SAMPLE_STD
        {
            get { return this[C_SAMPLE_STD]; }
        }
		
		public ColumnInfo SAMPLE_QTY
        {
            get { return this[C_SAMPLE_QTY]; }
        }
		
		public ColumnInfo ACPT_QTY
        {
            get { return this[C_ACPT_QTY]; }
        }
		
		public ColumnInfo REJ_QTY
        {
            get { return this[C_REJ_QTY]; }
        }
		
		public ColumnInfo FINE_QTY
        {
            get { return this[C_FINE_QTY]; }
        }
		
		public ColumnInfo NG_QTY
        {
            get { return this[C_NG_QTY]; }
        }
		
		public ColumnInfo RESULT
        {
            get { return this[C_RESULT]; }
        }
		
		public ColumnInfo REMARK
        {
            get { return this[C_REMARK]; }
        }
		
		
		
	}
}

